/*
  Programa Wifis, 2010-2011
  Autor: Nilhcraiv

This file is part of Wifis.

    Wifis is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Wifis is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Wifis.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef LINUXOS_H
#define LINUXOS_H

#include <QString>
#include <QVector>
#include <QByteArray>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QtCore/QThread>

class linuxos : public QThread
{
    Q_OBJECT
public:
    linuxos(QObject *parent = 0);
    ~linuxos();

    QVector <QString> vectorNetworks;//Si no se ha ejecutado run(), esto, estara vacio
    QString inteface;
    QVector <QString> searchNetworksInterfaces();//Las distintas interfaces las muestraré en el comboBox de mainwindows.cpp.
    //QVector <QString> searchNetworks(QString interface);

protected:

    void run();
};

#endif // LINUXOS_H
